package org.infodavid.common.messaging;

/**
 * The Class Constants.
 */
public final class Constants {

  /**
   * The Constructor.
   */
  private Constants() {
    super();
  }

  /**
   * The property name used to set the retry count when sending messages, on client side.
   */
  public static final String CLIENT_RETRY_COUNT_SYSTEM_PROPERTY =
      "org.infodavid.common.messaging.client.retryCount";

  /** The default retry count on client side. */
  public static final int DEFAULT_CLIENT_RETRY_COUNT = 3;

  /**
   * The property name used to set the retry period when sending messages, on client side.
   */
  public static final String CLIENT_RETRY_PERIOD_SYSTEM_PROPERTY =
      "org.infodavid.common.messaging.client.retryPeriod";

  /** The default retry period on client side. */
  public static final long DEFAULT_CLIENT_RETRY_PERIOD = 1000;
}
